<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>v-model测试实例</title>
    <script src="https://cdn.staticfile.org/vue/3.2.36/vue.global.min.js"></script>
</head>
<body>
    <div id="app" class="demo">
        <input type="text" v-model="message">
        <p>{{ message }}</p>
    </div>

    <script>
        const HelloVueApp = {
            data() {
                return {
                    message: 'Hello Vue test!!'
                }
            }
        }

        Vue.createApp(HelloVueApp).mount('#app')
    </script>
</body>
</html>